package com.rui.reggie;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author : [锐神NO.3]
 * @version : [v1.0]
 * @className : ReggieApplication
 * @createTime : [2022/4/29 23:41]
 * @description : [描述该类的功能]
 */

@Slf4j
@SpringBootApplication
@ServletComponentScan
@EnableTransactionManagement

/**
 * 开启SpringCache的缓存功能
 */
@EnableCaching
public class ReggieApplication {
    public static void main(String[] args) {
        SpringApplication.run(ReggieApplication.class, args);
        log.info("项目启动成功");
    }
}
